import { Component, Input } from '@angular/core';

@Component({
    selector: 'student',
    template: `
       <p>{{name}}</p>
    `
})

export class Student {
    @Input() name!: string;

    constructor() {
        // this.name = '这是上虞葡萄哥水果大王↘'
    }
}